package com.sakura.probe.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sakura.probe.pojo.FootPrint;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FootPrintMapper extends BaseMapper<FootPrint> {
    /**
     * 分页获取帖子的浏览记录
     * @param userId
     * @param rowIndex
     * @param pageSize
     * @return
     */
    List<FootPrint> queryList(@Param("userId") long userId, @Param("rowIndex") int rowIndex,
                                       @Param("pageSize") int pageSize);
}
